package com.sudichina.sudichina.view.activity.dentification;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.sudichina.sudichina.R;
import com.sudichina.sudichina.bean.User;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class IdcardDetailActivity extends AppCompatActivity {

    @BindView(R.id.iv_back)
    ImageView ivBack;
    @BindView(R.id.tv_title)
    TextView tvTitle;
    @BindView(R.id.tv_right)
    TextView tvRight;
    @BindView(R.id.tv_real_name)
    TextView tvRealName;
    @BindView(R.id.textView2)
    TextView textView2;
    @BindView(R.id.tv_id_no)
    EditText tvIdNo;
    @BindView(R.id.iv_id)
    ImageView ivId;
    @BindView(R.id.xiugai)
    Button xiugai;
    @BindView(R.id.activity_idcard_detail)
    LinearLayout activityIdcardDetail;
    private User mUser;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_idcard_detail);
        ButterKnife.bind(this);
        tvTitle.setText("认证成功");


        mUser = getIntent().getParcelableExtra("mUser");
        System.out.println(mUser.toString() + "认证成功");
        tvRealName.setText(mUser.getAccountName());
//        tvIdNo.setText(mUser.);

    }

    @OnClick({R.id.iv_back, R.id.tv_real_name, R.id.tv_id_no, R.id.iv_id, R.id.xiugai})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.iv_back:
                finish();
                break;
            case R.id.tv_real_name:
                break;
            case R.id.tv_id_no:
                break;
            case R.id.iv_id:
                break;
            case R.id.xiugai:
                break;
        }
    }
}
